<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template-bestand.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
        <!-- content type -->
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            
        <!-- Titel --> 
            <title>{$config.titel}</title>
            
        <!-- Stylesheets -->  
            {$helper->getCss()}
            
        <!-- Scripts --> 
            {$helper->getJs()}
            <script>
                LaadAdminBar();
            </script>

    </head>
    <body>

    
    
      <div id="container">
        <div id="header">
            <div id="banner"></div> 
            
              {if ! $user->is_ingelogd()}
              <div id="login">   
                <div id="left">
                <form method="post" action="{$config.full_url}0/login">
                    <div id="head">Inloggen</div>
                    Email
                    <input type="text" name="email"/>
                    Wachtwoord
                    <input type="password" name="pass"/>
                    <br><br>
                    <input class="submit" type="submit" value="Inloggen">
                </form>
                </div>
                <div id="right">
                    <div id="head">Nog geen account?</div>

                    Email
                    <input type="text" name="email"/>
                    Wachtwoord
                    <input type="password" name="pass"/>
                    <br><br>
                    <input class="submit" type="submit" value="Nu registreren">
                </div> </div> 
              {/if}
              
            <div id="menucontainer"> 
                <div id="menuleft"></div>
                <div id="menucenter" >
                {foreach from=$posities->getPositie('Header')->getMenus()  item=menu}
                       
                     {foreach from=$menu->getModules() item=modules}
                        {if $modules->getModule() eq 'content'}
                             <div id="menuItem"><a href="{$config.full_url}{$modules->getModuleId()}/{$modules->getModule()}/menu/{$modules->getModuleId()}">{$modules->getNaam()|ucfirst}</a></div>
                        {else}
                             <div id="menuItem"><a href="{$config.full_url}{$modules->getModuleId()}/{$modules->getModule()}">{$modules->getNaam()|ucfirst}</a></div> 
                        {/if}
                     {/foreach}
                     {/foreach} </div>
                <div id="menuright"></div>
            </div>
        </div>
        <div id="contentcontainer">     
            {if ($sub != false)} <div id="menucenter" style="margin:-11px 0px 0px -18px; font-size: .8em; width: 100%;">
            {foreach from=$posities->getPositie({$sub})->getMenus()  item=menu}

                     {foreach from=$menu->getModules() item=modules}
                     
                        {if $modules->getModule() eq 'content'}
                             <div id="menuItem"><a href="{$config.full_url}{$modules->getModuleId()}/{$modules->getModule()}/menu/{$modules->getModuleId()}">{$modules->getNaam()|ucfirst}</a></div>
                        {else}
                             <div id="menuItem"><a href="{$config.full_url}{$modules->getModuleId()}/{$modules->getModule()}">{$modules->getNaam()|ucfirst}</a></div> 
                        {/if}
                     {/foreach}
                     {/foreach}
                     </div>
            {/if}
            {if (!$locationActief)}
            {$content}
            {else}
               <div style="background-color: white; padding:10px; ">
                   <div>
                        <h1 class="location">{$location}</h1> 
                   </div>
                   {$content}
               </div>
            {/if}
        </div>
        <div id="footer"><div id="footertext">Disclamer Voorwaarden Contact</div>
       
            
                        
        </div>  
      </div>
            <div id="Adminbar"></div>  
    </body>
</html>